apiVersion: logging.kubesphere.io/v1alpha2
kind: Input
metadata:
  name: {{ logging.containerruntime | default('docker') }}
  namespace: kubesphere-logging-system
  labels:
    logging.kubesphere.io/enabled: "true"
    logging.kubesphere.io/component: logging
spec:
  systemd:
    tag: service.{{ logging.containerruntime | default('docker') }}
    path: /var/log/journal
    db: /fluent-bit/tail/docker.db
    dbSync: Normal
    systemdFilter:
      - _SYSTEMD_UNIT={{ logging.containerruntime | default('docker') }}.service